<?php 

$file_in = "http://xxx.com/static/old/upload/fckeditor/冯西桥(4).jpg";
$file_in = urlencode($file_in);


$file_in = 'http://xxx.com/static/old/upload/fckeditor/%E5%86%AF%E8%A5%BF%E6%A1%A5%284%29.jpg';

// $file_in = 'http://xxx.com/static/old/upload/images/20107/2010711524163269609.JPG';
header('Content-Type: text/html; charset=utf-8'); 
$a = file_get_contents($file_in,false,stream_context_create(['http' => ['header' => 'Accept-Charset: utf-8'], 'ssl'=>['verify_peer'=>false,'verify_peer_name'=>false]]));


var_dump($a);